﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link rel="shortcut icon" href="@Url.Content("~/Content/images/favicon.ico")" type="image/png" />
    <link rel="icon" href="@Url.Content("~/Content/images/favicon.ico")" type="image/png" />
    <link href="@Url.Content("~/Content/Style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.core.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.datepicker.css")" rel="stylesheet"  type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.core.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.datepicker.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DatePickerReady.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Script.js")" type="text/javascript"></script>
</head>

<body onload="show_menu();">

<div id="background-top-menu-id" class="background-menu">
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
</div>
<div></div>

<div id="top-menu-id" class="menu">
    <div>
        <div>The Golden Wings flying club</div>
        @if (Session["ID"] != null)
        { 
            <div>@Html.Partial("Profiler")</div>
        }
    </div>
    <div>@Html.Partial("LogOnPartial")</div>
</div>
<div></div>

<div id="background-middle-menu-id" class="background-menu">
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
</div>
<div></div>

<div id="middle-menu-id" class="menu">
    <a id="home-id" href="/Home#home" onclick="back_to_home();">Accueil</a>
    @if (Session["ID"] != null)
    {
        <a id="user-id" href="#user" onclick="expand_user_menu();">Espace membre</a>
    }
    @if (Session["Staff"] != null)
    {
        <a id="admin-id" href="#admin" onclick="expand_admin_menu();">Administration</a>
    }
    else if (Session["ID"] != null)
    {
        <a id="admin-id" href="#admin" onclick="expand_admin_menu();" style="display : none;">Administration</a>
    }
    <a id="contact-id" href="/Home/Contact#contact" onclick="back_to_contact();">Contact</a>
    <a id="about-id" href="/Home/AboutUs#about" onclick="back_to_about();">A propos</a>
</div>
<div></div>

<div id="background-user-menu-id" class="background-menu">
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
</div>
<div></div>

<div id="user-menu-id" class="menu">
    <a id="user-members-edit-id" href='/Members/Details/@Session["ID"]#user-members-edit'>Mon profil</a>
    <a id="user-flights-id" href="/Flights#user-flights">Mes Vols</a>
    <a id="user-transactions-credit-id" href="/Transactions/Credit#user-transactions-credit">Créditer</a>
</div>
<div></div>

<div id="background-admin-menu-id" class="background-menu">
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
    <div>
        <div>
            <div></div>
        </div>
        <div></div>
    </div>
</div>
<div></div>

<div id="admin-menu-id" class="menu">
    <a id="admin-members-crud-id" href="/Members/CRUD#admin-members-crud">Membres</a>
    <a id="admin-planes-id" href="/Planes#admin-planes">Avions</a>
    <a id="admin-flights-id" href="/Flights/List#admin-flights">Vols</a>
</div>
<div></div>

<div id="content-id">
    @RenderBody()
</div>

<div class="footer">
</div>
<div>
    Application Web réalisé en ASP.NET MVC 3 par Benoît FIGLIUZZI, Axel SCHAEFFER, Nicolas SURREAUX et Antoine THOMAS.
</div>

</body>
</html>
